// Copyright 2021 Guoyoko. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"
#include "Widgets/SCompoundWidget.h"
#include "Property/SWBaseProperty.h"


class SSWPropertyRowBaseWidget : public SCompoundWidget
{

public:
	SLATE_BEGIN_ARGS(SSWPropertyRowBaseWidget) {}

	SLATE_ARGUMENT(FName, NodeName)

	SLATE_END_ARGS()

	void Construct(const FArguments& InArgs, class FSWBaseProperty* InBaseProperty)
	{
		NodeName = InArgs._NodeName;
		BaseProperty = InBaseProperty;
	}

protected:
	FName NodeName;

	class FSWBaseProperty* BaseProperty;
};

